*Table A5: Gender Gaps and the Inverse of Competitiveness: without GPA *
clear all
use Clean_data, clear

*********************************TA.GENDERGP_INV.COMP._NOGPA****************
gen femalexcomp= female * inv_competNOQUOTA

reg dropout female femalexcomp  i.year  if degree=="M"  & z_GPA!=. & foreign==0, robust cformat(%9.4f)

*Z_answered, z_Test_Correct, 
global test_ z_answered z_test_correct 

foreach x in $test_ {
reg `x' female femalexcomp  i.year   if degree=="M" & test==1 & (year<1987 | year>1988) & z_GPA!=. & foreign==0 , robust
}

global notest_ z_test_points z_total_points position

foreach x in $notest_ {
reg `x' female femalexcomp  i.year  if degree=="M" & test==1  & z_GPA!=. & foreign==0, robust
}
